<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta charset="UTF-8">
    <link href="__CSS__bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="__C3CSS__main.css" type="text/css" rel="stylesheet">
    <script src="__JS__jquery-3.1.1.min.js"></script>
    <script src="__JS__bootstrap.min.js"></script>
    <title>告白</title>
</head>
<body style="color:#00f0d0;">
    <include file="Public:header1"/>
    <div class="col-sm-12 col-md-12">
        <div class="col-sm-12 col-md-12" style="margin: 1em auto;">
            <h2 class="col-sm-6 col-md-6 page-header text-center">醒来觉得，甚是爱你</h2>
        </div>
        <form class="form-horizontal" style="margin:1.5em auto;" method="POST">
            <div class="form-group">
                <label class="col-sm-12 col-md-12 text-left" style="font-size: 1.5em;">告白对象</label>
                <div class="col-sm-12 col-md-12" style="opacity: 0.4;">
                    <input name="toname" type="text" class="form-control col-sm-6 col-md-6">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-12 col-md-12 text-left" style="font-size: 1.5em;">内容</label>
                <div class="col-sm-12 col-md-12" style="opacity: 0.4;">
                    <textarea name="content" class="form-control col-sm-6" style="height:18em;"></textarea>
                </div>
            </div>
            <input id="time" type="hidden" name="time" />
            <input type="hidden" name="fromname" value="匿名用户" />
            <div class="form-group">
                <div class="col-sm-offset-1 col-sm-10 col-md-10">
                    <button id="biaobai" type="submit" class="btn btn-success col-sm-12 col-md-12">兄弟们不要拦我，我要表白啦</button>
                </div>
            </div>
        </form>
    </div>
    <div id='footer' class="col-sm-12 col-md-12" style="color:#000000;">
        <include file="Public:footer"/>
    </div>

</body>
<script>
    $('#biaobai').on('click',function(){
        $('#time').val(getNowFormatDate());
    });
</script>
</html>